Update documentation for orientables
authorMatthias Clasen <mclasen@redhat.com>
Thu, 3 Jun 2010 05:18:42 +0000 (01:18 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 3 Jun 2010 05:18:42 +0000 (01:18 -0400)
Don't document these as abstract anymore, since they are now
instantiatable.

docs/reference/gtk/tmpl/gtkscale.sgml
docs/reference/gtk/tmpl/gtkscrollbar.sgml
gtk/gtkbox.c
gtk/gtkrange.c

index 56ba0734af51b989ceec99da1a96ad2d0988106c..e4e6d512daea3423cdb575d7508a1a2496536aa3 100644 (file)
@@ -13,11 +13,6 @@ To set the value of a scale, you would normally use gtk_range_set_value().
 To detect changes to the value, you would normally use the "value_changed"
 signal.
 </para>
-<para>
-The #GtkScale widget is an abstract class, used only for deriving the
-subclasses #GtkHScale and #GtkVScale. To create a scale widget,
-call gtk_hscale_new_with_range() or gtk_vscale_new_with_range().
-</para>
 
 <refsect2 id="GtkScale-BUILDER-UI"><title>GtkScale as GtkBuildable</title>
 <para>
index 59d8ef631b2dc5404f81ab38af7e0e266f1c12cf..9df668348f19eb0f66405e646930c8b941753802 100644 (file)
@@ -6,8 +6,9 @@ Base class for GtkHScrollbar and GtkVScrollbar
 
 <!-- ##### SECTION Long_Description ##### -->
 <para>
-The #GtkScrollbar widget is an abstract base class for #GtkHScrollbar and
-#GtkVScrollbar. It is not very useful in itself.
+The #GtkScrollbar widget is the base class for #GtkHScrollbar and
+#GtkVScrollbar. It can be used in the same way as these, by setting
+the "orientation" property appropriately.
 </para>
 
 <para>
index 1b9c1fe8454ce090905f036f0c51a86998f43d77..3c5619609478daba5ad1ec25fe9878b70bcd908e 100644 (file)
@@ -30,7 +30,7 @@
  * @Title: GtkBox
  * @See_also:i #GtkHBox, #GtkVBox, #GtkFrame, #GtkTable, #GtkLayout
  *
- * GtkBox is an abstract widget which encapsulates functionality for a
+ * GtkBox is an widget which encapsulates functionality for a
  * particular kind of container, one that organizes a variable number of
  * widgets into a rectangular area.  GtkBox has a number of derived
  * classes, e.g. #GtkHBox and #GtkVBox.
@@ -41,8 +41,8 @@
  * GtkBox are allocated one dimension in common, which is the height of a
  * row, or the width of a column.
  *
- * GtkBox uses a notion of <emphasis>packing</emphasis>.  Packing refers to
- * adding widgets with reference to a particular position in a
+ * GtkBox uses a notion of <emphasis>packing</emphasis>.  Packing
+ * refers to adding widgets with reference to a particular position in a
  * #GtkContainer.  For a GtkBox, there are two reference positions: the
  * <emphasis>start</emphasis> and the <emphasis>end</emphasis> of the box.
  * For a #GtkVBox, the start is defined as the top of the box and the end is
index fa92d25651e054c7c96d40dde15b9af63394101a..b415ec75ced028d1b47e34b898fecb094df292ad 100644 (file)
@@ -48,7 +48,7 @@
  * @Title: GtkRange
  *
  * #GtkRange is the common base class for widgets which visualize an
- * adjustment, e.g #GtkScale or #GtkScroolbar.
+ * adjustment, e.g #GtkScale or #GtkScrollbar.
  *
  * Apart from signals for monitoring the parameters of the adjustment,
  * #GtkRange provides properties and methods for influencing the sensitivity